import Vue from 'vue'
import App from './App.vue'
import router from './router'
import BaiduMap from 'vue-baidu-map'
import { Button, Icon, Uploader, Popup, Search, Picker, ActionSheet, Cell, CellGroup, IndexBar, IndexAnchor, Form, Swipe, SwipeItem, Card, Field, Toast, NavBar, Tabbar, TabbarItem, Grid, GridItem } from 'vant'
// import '@/utils/vant'
Vue.use(Button)
Vue.use(Icon)
Vue.use(Form)
Vue.use(Field)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Search)
Vue.use(Uploader)
Vue.use(NavBar)
Vue.use(Picker)
Vue.use(Tabbar)
Vue.use(Swipe)
Vue.use(Popup)
Vue.use(ActionSheet)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(SwipeItem)
Vue.use(Card)
Vue.use(TabbarItem)
Vue.use(Toast)
Vue.use(Grid)
Vue.use(GridItem)
Vue.config.productionTip = false
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'YOUR_APP_KEY'
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
